package yxy.cherry.game.base.message.annotation;

public class MessageSource {
	private String tag;
	private long source;
	private long destination;

	public MessageSource(String tag, long source, long destination) {
		this.tag = tag;
		this.source = source;
		this.destination = destination;

	}

	public String getTag() {
		return tag;
	}

	public long getSource() {
		return source;
	}

	public long getDestination() {
		return destination;
	}

	@Override
	public String toString() {
		return String.format("MessageSource(tag: %s, source: %d, dest: %d)", tag, source, destination);
	}

}
